package com.yxw.yxnet_cd_center.customer_service.dto;

import com.yxw.yxnet_cd_center.customer_service.vo.MemberVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 群成员修改DTO
 * @author liuxin
 * @date 2023.09.17
 */
@Data
@ApiModel(value="FlockUserUpdateDTO", description="群成员新增/删除DTO")
public class FlockUserUpdateDTO implements Serializable {

    @NotNull(message = "群ID不能为空")
    @ApiModelProperty(value = "群ID")
    private Long flockId;

    @NotNull(message = "新增/删除标识不能为空")
    @ApiModelProperty(value = "状态 0-新增 1-删除")
    private Integer status;

    @Valid
    @NotEmpty(message = "新增/删除人员不能为空")
    @ApiModelProperty(value = "群成员ID")
    List<Long> userIdList;
}
